@-moz-document url-prefix('https://note.youdao.com/web/') {
  html {
    background-image: url("https://sheng-images.oss-cn-beijing.aliyuncs.com/png3.png");
    background-size: cover;
  }
  body,
  .top-title-old-editor {
    background-color: transparent;
  }
  .sidebar,
  .list,
  .file-detail,
  .detail-container,
  .detail-container .detail,
  .sidebar .file-tree-toggle,
  .file-detail .hd .hd-btn {
    background: transparent;
  }
  .widget-menu {
    background: rgba(0,0,0,0.1);
    border: 0.5px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
  }
  .file-tree .tree-title,
  .file-tree .tree-title.root-title,
  .sidebar .sidebar-item,
  .sidebar .hd .create .create-text,
  .sidebar .hd .upload .create-text,
  .sidebar .hd .create .upload-text,
  .sidebar .hd .upload .upload-text,
  .list-li .file-name,
  .list .item-num {
    color: rgba(171,178,191,0.65);
  }
  .list-li,
  .sidebar,
  .list .item-num,
  .file-detail .hd,
  .sidebar .hd,
  .list .list-hd .input-search,
  .list .list-hd,
  .sidebar .file-tree-toggle,
  .list {
    border-color: rgba(255,255,255,0.15);
    border-width: 0.5px;
  }
  .widget-menu-item.split-line {
    height: 0.5px;
    background: rgba(255,255,255,0.15);
  }
  .list-li.selected,
  .list .list-bd .list-li:hover:not(.selected),
  .file-tree .tree-title:hover,
  .file-tree .tree-title:active,
  .file-tree .tree-title.hover,
  .file-tree .tree-title.selected,
  .sidebar .sidebar-item.selected,
  .sidebar .sidebar-item:hover,
  .sidebar .sidebar-item:active,
  .sidebar .sidebar-item.hover {
    background: rgba(0,0,0,0.3);
  }
  .widget-menu-item:hover {
    background: rgba(0,0,0,0.5);
  }
  .top-title,
  .top-title-old-editor {
    color: #abb2bf;
  }
  .file-tree .tree-title.selected {
    border-color: transparent;
  }
  .list-li.selected .file-name {
    color: #fff;
  }
  .top-banner {
    background-color: rgba(0,0,0,0.3);
  }
  .sidebar .hd {
    box-shadow: none;
  }
  div.mermaid {
    filter: invert(100%);
  }
  .sidebar .sidebar-item.selected {
    border-color: transparent;
  }
}
@-moz-document url-prefix('https://note.youdao.com/md') {
  body[data-mode="view"] .ui-layout-east,
  .markdown-body .highlight pre,
  .ace-tomorrow-night-eighties,
  .ace-tomorrow-night-eighties .ace_gutter,
  .markdown-body pre {
    background: transparent;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
  .toc::-webkit-scrollbar {
    width: 5px;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
  }
  .markdown-body {
    max-width: fit-content;
    color: #abb2bf;
  }
  .markdown-body h1 {
    color: #d9d9d9;
  }
  .markdown-body h2 {
    color: #d9d9d9;
  }
  .markdown-body h3 {
    color: #d9d9d9;
  }
  .markdown-body h4 {
    color: #d9d9d9;
  }
  .markdown-body h5 {
    color: #d9d9d9;
  }
  .markdown-body h6 {
    color: #d9d9d9;
  }
  .markdown-body strong {
    color: #d9d9d9;
  }
  .markdown-body a {
    color: #69c;
  }
  .markdown-body h2 {
    border-color: #6a737d;
  }
  .markdown-body code {
    padding: 0;
  }
  .markdown-body :not(pre):not(a) > code {
    color: #8fbc8f;
  }
  .markdown-body blockquote {
    border-color: rgba(0,0,0,0.2);
  }
  .markdown-body blockquote strong {
    color: #797979;
  }
  .markdown-body pre {
    border: 0.5px solid #6a737d;
    border-radius: 0 3px 3px 3px;
    margin-top: 35px;
  }
  .markdown-body pre::before {
    content: attr(language);
    position: absolute;
    transform: translate(-16.5px, -34px);
    border-radius: 3px 3px 0 0;
    padding: 0 10px;
    border-top: 0.5px solid #6a737d;
    border-left: 0.5px solid #6a737d;
    border-right: 0.5px solid #6a737d;
  }
  .markdown-body table tr,
  .markdown-body table th,
  .markdown-body table td {
    border: 0.5px solid #6a737d;
  }
  .markdown-body table tr {
    background-color: transparent;
  }
  .markdown-body table thead tr,
  .markdown-body table tr:nth-child(2n) {
    background-color: rgba(0,0,0,0.3);
  }
  [data-mode="view"] .markdown-body {
    margin: unset;
    margin-right: 420px;
    padding-left: 40px;
  }
  [data-mode="view"] .markdown-body .toc {
    font-size: 12px;
    position: fixed;
    right: 50px;
    width: 400px;
    max-height: calc(100% - 70px);
    overflow-y: auto;
    list-style: none;
  }
  [data-mode="view"] .markdown-body .toc a {
    transition: color 0.15s;
  }
  [data-mode="view"] .markdown-body .toc a.active {
    color: #90ee90;
  }
  body[data-mode="edit"] #east-toggler {
    background: rgba(0,0,0,0.3);
  }
  body[data-mode="edit"] #north-toggler {
    display: none;
  }
  body[data-mode="edit"] .ui-layout-north {
    display: none;
  }
  body[data-mode="edit"] .ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {
    background: rgba(0,0,0,0.4);
  }
  body[data-mode="edit"] .ace-tomorrow-night-eighties .ace_gutter {
    color: rgba(171,178,191,0.65);
  }
  body[data-mode="edit"] .ace-tomorrow-night-eighties .ace_marker-layer .ace_active-line,
  body[data-mode="edit"] .ace-tomorrow-night-eighties .ace_gutter-active-line {
    background: rgba(255,255,255,0.05);
  }
  .token.comment,
  .token.block-comment,
  .token.prolog,
  .token.doctype,
  .token.cdata {
    color: #5c6370;
    font-style: italic;
  }
  .token.punctuation {
    color: #abb2bf;
  }
  .token.tag,
  .token.attr-name,
  .token.namespace,
  .token.deleted {
    color: #e2777a;
  }
  .token.function-name {
    color: #6196cc;
  }
  .token.boolean,
  .token.number,
  .token.function {
    color: #f08d49;
  }
  .token.property,
  .token.class-name,
  .token.constant,
  .token.symbol {
    color: #f8c555;
  }
  .token.selector,
  .token.important,
  .token.atrule,
  .token.keyword,
  .token.builtin {
    color: #cc99cd;
  }
  .token.string,
  .token.char,
  .token.attr-value,
  .token.regex,
  .token.variable {
    color: #7ec699;
  }
  .token.operator,
  .token.entity,
  .token.url {
    color: #67cdcc;
  }
  .token.important,
  .token.bold {
    font-weight: bold;
  }
  .token.italic {
    font-style: italic;
  }
  .token.entity {
    cursor: help;
  }
  .token.prefix.inserted {
    color: #008000;
  }
  .token.inserted-sign {
    display: block;
    background: rgba(0,255,71,0.078);
  }
  div.code-toolbar {
    position: relative;
  }
  div.code-toolbar > .toolbar {
    position: absolute;
    top: 0.3em;
    right: 0.2em;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
  }
  div.code-toolbar:hover > .toolbar {
    opacity: 1;
  }
  div.code-toolbar:focus-within > .toolbar {
    opacity: 1;
  }
  div.code-toolbar > .toolbar .toolbar-item {
    display: inline-block;
  }
  div.code-toolbar > .toolbar a {
    cursor: pointer;
  }
  div.code-toolbar > .toolbar button {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-user-select: none; /* for button */
    -moz-user-select: none;
    -ms-user-select: none;
  }
  div.code-toolbar > .toolbar a,
  div.code-toolbar > .toolbar button,
  div.code-toolbar > .toolbar span {
    color: #bbb;
    font-size: 0.8em;
    padding: 0 0.5em;
    background: #f5f2f0;
    background: rgba(224,224,224,0.2);
    box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
    border-radius: 0.5em;
  }
  div.code-toolbar > .toolbar a:hover,
  div.code-toolbar > .toolbar a:focus,
  div.code-toolbar > .toolbar button:hover,
  div.code-toolbar > .toolbar button:focus,
  div.code-toolbar > .toolbar span:hover,
  div.code-toolbar > .toolbar span:focus {
    color: inherit;
    text-decoration: none;
  }
  .line-highlight {
    position: absolute;
    left: 0;
    right: 0;
    padding: inherit 0;
    margin-top: 1.3em;
    z-index: -1;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
    line-height: inherit;
    white-space: pre;
  }
@media print {
    .line-highlight {
/*
         * This will prevent browsers from replacing the background color with white.
         * It's necessary because the element is layered on top of the displayed code.
         */
      -webkit-print-color-adjust: exact;
      color-adjust: exact;
    }
}
  .line-numbers .line-highlight:before,
  .line-numbers .line-highlight:after {
    content: none;
  }
  pre[id].linkable-line-numbers span.line-numbers-rows {
    pointer-events: all;
  }
  pre[id].linkable-line-numbers span.line-numbers-rows > span:before {
    cursor: pointer;
  }
  pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before {
    background-color: rgba(128,128,128,0.2);
  }
}
